LEGION Model Builder Help

To Create an Occupancy Estimation with Occupancy Estimator

  1. Start the Occupancy Estimator command .

    A model having accessible spaces is required.

  2. When the command starts, you have the option to demarcate your distinct pedestrian spaces, or skip this phase and just use the model's accessible spaces (command prompt: "Demarcate discrete regions. Click first point:")

    Press <Enter> to skip this phase and estimate occupancy based on the model's accessible spaces.

    Click the start of the first demarcation to begin demarcating distinct pedestrian spaces. Use of snaps is recommended for accurate demarcation. Occupancy Estimator can snap to any visible, snapable CAD, and supports these snaps.

    1. End point
    2. Mid point
    3. Nearest point

A demarcation is a series of one or more line-segments, marking the boundary between two pedestrian Spaces. Multiple demarcations are permitted.

When demarcating Spaces, consider all the different pedestrian areas in the model. Also consider demarcating parts of the model that aren't interesting, or where occupancy estimation is not required.

For instance, train carriage interiors have a known maximum occupancy, so do not need to be estimated.

  1. Click the first point of the first demarcation. As the mouse moves, a demarcation segment is drawn from the first point to the mouse cursor.
  2. Click the next point along the demarcation. To add more points, click to create them. The demarcation expands to include them. To finish this demarcation, press <Enter> (command prompt: "Demarcate discrete regions: Click next point, press <Enter> to finish this demarcation.")
    Important: A demarcation may only be finished if it has at least 2 points.
  3. Add more demarcations if required (command prompt: "Click a demarcation grab/segment to modify it; click off-grab to start new demarcation. Press <Enter> to finish all demarcations.")
    1. Click the start point of the new demarcation.
    2. Click successive points to draw the demarcation.
    3. Press <Enter> to finish the demarcation'
    Tip: While drawing a demarcation, hold the <Shift> key to orthogonally snap to the direction of the demarcation. Orthogonal snaps allows for drawing exactly horizontal or vertical demarcation segments.
  4. Existing demarcations can be edited between drawing new demarcations. Edit handles are presented on all demarcation vertices.
    1. Move vertex.
      1. Mouse-over a vertex edit handle. The mouse cursor automatically snaps to the edit handle.
      2. Clicking an edit handle selects it and enters the vertex movement phase (command prompt: "Move demarcation vertex: click to drop.")
      3. Move the mouse to adjust the position of the vertex. The demarcation changes automatically.
      4. Click at the desired location to set the new vertex position.
    2. Add/insert vertex.
      1. Mouse-over a demarcation segment. The segment highlights when the mouse is over it.
      2. Click on the segment to insert vertex at the mouse cursor location.
      3. An edit handle is presented for the new vertex.
      4. The new vertex can be moved like any other vertex.
    3. Delete vertex.
      1. Mouse-over a demarcation vertex and right click. The segment highlights when the mouse is over it.
      2. If a demarcation has more than 2 vertices, the right-click menu includes a Delete vertex option. Select that menu option to delete the vertex.
      3. After the vertex is deleted, the demarcation and edit handles update to the new shape.
    4. Delete segment.
      1. Mouse-over a demarcation segment, and right click. The segment highlights when the mouse is over it.
      2. If the demarcation has more than 1 segment, the right-click menu includes a Delete segment option. Select that menu option to delete the segment.
      3. After the segment is deleted, the demarcation and edit handles update to the new shape.
    5. Delete demarcation.
      1. Mouse-over a demarcation, and right-click. The segment highlights when mouse is over it.
      2. The right-click menu includes a Delete demarcation option. Select that menu option to delete the demarcation.

Note: Adding or modifying demarcations may affect the Spaces they define.

  1. Where spaces have been defined in a previous session, these actions will invalidate those spaces:
    1. Add demarcation
    2. Move vertex
    3. Delete vertex
    4. Delete segment
    5. Delete demarcation
  2. When spaces are invalidated, their records and all occupancy settings/estimates are removed from the model.
    1. These spaces must be redefined manually after finishing demarcations.
    2. Because of this, before proceeding with any such action, you prompted to confirm you understand the consequences.

  1. When all demarcations are complete, press <Enter> to advance.

    Example of fully demarcated Spaces.

All Spaces created by the demarcations are shown.

  1. Red Spaces are unidentified
  2. When the mouse cursor is over a Space, it is highlighted in green
  3. Identified Spaces are drawn blue

  1. Identify any Spaces you wish to estimate occupancy for. You don't need to identify all the Spaces.

    Identifying a Space means giving it specific characteristics

    1. A Name to identify the space.
    2. Social distancing to apply in the occupancy estimate.
    3. Occupancy Rating
      1. This is either:
        • The number of people you would like to fit in the Space, or
        • The upper limit on occupancy as defined by local law or regulations (for instance, fire regulations).
      2. If you don't know the occupancy rating, or it doesn't matter, you can select "Unknown".
    4. Capacity Factor
      1. The percentage of normal occupancy rating allowed in the space.
      2. For normal situations, this would be 100%.
      3. For COVID-19 and similar situations, this is whatever local regulations/recommendations are for the space. For instance, CDC requires no more than 20% or 50% of normal occupancy.
    Note: Occupancy Rating and Capacity Factor combine to give an overall Maximum Occupancy for the Space.
    • Maximum Occupancy is the value compared against the occupancy estimates
    • Formula is simply Occupancy Rating x Capacity Factor
    • If Occupancy Rating is unknown, Maximum Occupancy is not calculated

    The Occupancy Estimator - Spaces dialog shows all identified Spaces, their characteristics, and their occupancy estimates.

    Note: By default, this dialog is empty as no Spaces are identified.

    1. Identified and remaining Spaces counts, 2. Identified Spaces are listed here, 3. Click to estimate occupancy of identified Spaces, 4. Click here to export occupancy estimates to Excel

  2. Identify a Space by placing the mouse over it and left-click.

    Clicking in a space opens the Identify Space dialog.

    1. Give the space a name, social distance, Occupancy Rating and Capacity Factor.
    2. Select "Unknown" if Capacity Factor is not known or is not important.
    3. The dialog calculates and show Maximum Occupancy from the Occupancy Rating and Capacity Factor.
    4. The Social distance is unit-aware. You may enter Imperial distance units in feet and inches.
    5. Social distance value and Capacity Factor persist for newly identified Spaces.
      1. You only need to set these once, and they will be reused in future new Space identities.
      2. Changes to either value are used in future new Space identities.
  3. Click in an already identified Space to show the settings for that Space, which allows you to change them.
  4. Identify each Space for which you want to estimate occupancy.

    The Occupancy Estimator - Spaces dialog lists details for each area.

    Where a Space has unknown Occupancy Rating, "Unknown" is listed for its Occupancy Rating and Maximum Occupants.

    Where occupancy has not been estimated, "n/a" is listed for Estimate 1 and Estimate 2.

  5. Remove a Space identity, select its row in the dialog, and click the Remove space(s).

    This button is disabled when no Spaces are selected.

  6. Click Estimate occupancy… to estimate the occupancy of the identified Spaces.
    All identified Spaces are evaluated using the square and hexagonal circle-tessellation methods.
    • Circles with their center outside the Space are excluded from the count.
    • Circles with their center inside the Space, but too close to an obstacle, are excluded from the count.

      "Too close" is determined by the radius of the largest Simulator system-database entity which approximately 0.215m.

    The dialog lists the estimates for all the identified Spaces.

    Estimates are color coded:

    • Black when Maximum Occupants is unknown, and there is nothing to compare against.
    • Red when an estimate is below the Maximum Occupants value which means it is under-provisioned for the desired number of people.
    • Amber when an estimate is exactly equal to the Maximum Occupants value. The Space may be exactly-provisioned for the desired number of people.
    • Green when an estimate is above the Maximum Occupants value which means the Space is over-provisioned for the desired number of people.
    • This shows how desired capacity compares to theoretical capacity.
  7. Position the mouse over an identified, estimated Space., :

    A tool tip appears showing the occupancy estimates and comparison state.

    Where Occupancy Rating is unknown, the tool tip looks like this:

    The Occupancy Estimate color coding in the tool tip matches the Spaces dialog, except when the Occupancy Rating is unknown in which case the text is white and not black.

    The tool tip displays a Status icon, to give you a quick recommendation about the space:

    • A Green Check indicates the Space should hold more socially-distanced people than the Maximum Occupancy.
    • An Amber Exclamation indicates the Space might not hold more socially-distanced people than the Maximum Occupancy.
    • A Red X indicates the Space can not hold more socially-distanced people than the Maximum Occupancy.

    The Status icons are calculated as follows:

    • Green Check - Both estimates are above the Maximum Occupancy level.
    • Amber Exclamation - Both estimates are exactly at, or one estimate is above the Maximum Occupancy level.
    • Red X - Both estimates are below the Maximum Occupancy level.

Example

The earlier Spaces table shows "Main concourse" Space to be under-provisioned for the desired Maximum Occupancy of 400 people (500 at 80% Capacity Factor):
  • Estimates show the Space can only hold at best 104 to 119 people
  • Reduce the Space's Occupancy Rating to 140
  • Now the estimates are:

The low estimate is still under-provisioned, but the high estimate is over-provisioned. This state is reflected in the tool tip:

Reducing the Occupancy Rating further, to 130 people results in:

Estimate 1 is exactly-provisioned, and Estimate 2 is still over-provisioned. Again the tool tip reflects this.

Finally, reducing the Occupancy Rating by one person, down to 129 people:

Both estimates are now over-provisioned. The tool tip displays this:

  1. Identified estimated Spaces can show their estimation work. To view this do the following:
    1. Mouse-over an identified, estimated Space and right-click.

      Two menu options appear for the Space.

    2. Click Show Estimate 1 Details to show the square tessellation.

      The command prompt changes to: "Review estimate 1details for selected Space; press <Enter> to resume Space identification."

    3. Click Show Estimate 2 Details to show the hexagonal tessellation.

      The command prompt changes to: "Review estimate 2 details for selected Space; press <Enter> to resume Space identification."



Estimate Display Observations

For both estimates, the outline of the Space is shown in green.

Blue circles are counted in the estimates, red circles are excluded.
  • The filled dot at the center of each circle shows how close an entity would be to be an obstacle.
  • This represents the largest entity size in the Simulator's system database, approximately 0.215m.

Counted circles are numbered. The circle corresponding to the estimate count is show in light-blue, to highlight it.

  1. To hide the estimate display, do one of the following:
    • Press <Enter>, or
    • Right-click and select Hide Estimate Details.

    The command returns to the Identify Spaces phase.

Reduced Estimates

When estimates are reduced, the estimate details display is slightly different.

Now, the light-blue circle shows the estimate highlights the counted circle for the reduced estimate.

  1. (Optional) Export Space characteristics and occupancy estimates to an Excel file.

    Three file formats are supported: XLSX, XLS, CSV.

    Data is formatted like this:

    Note: In CSV, there is no formatting, no bold text, and no colors. Just plain text.

    To export the estimates, click the Export details… button.

    Then in the file dialog, specify the location for the exported details.

  2. Press <Enter> again to complete the command.

    Demarcations and Space identities are saved in the model's LGM file.

  3. To modify demarcations or Space identities, run the Occupancy Estimator again.